home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20010306-20010921
/
000092_news@columbia.edu _Mon Apr 30 20:15:45 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA22300
for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 30 Apr 2001 20:15:45 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA27620
for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Apr 2001 19:56:52 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <3AEDFBAE.50CE1602@worldnet.att.net>
From: "David L. Harfst" <harfst@worldnet.att.net>
Subject: Re: renaming during ftp
Date: Mon, 30 Apr 2001 23:56:51 GMT
Organization: AT&T Worldnet
To: kermit.misc@columbia.edu
The kermit solution assumes that the remote system also has kermit.
Kermit is a cool program, when you get into scripting and the like.
ftp can be used to rename files as well, though. Don't know how it
would work into your script but,
put filenameX filenameY
sends filenameX and renames it to filenameY in the process.
Similarly,
get filenameX filenameY
pulls filenameX from the remote systems and saves it as filenameY.
Frank da Cruz wrote:
>
> In article <9ck60u$hds$1@kermit.esat.net>,
> Dermot Beirne <dermot.beirne@walshwestern.com> wrote:
> : We have a HP 9000 server running 10.20 that sends files to a customer using
> : ftp. These files are renamed to include the time after being sent, and put
> : in a backup directory. The current script is sending a file, quitting out
> : of ftp, then renaming it and backing it up, then logging in again to send
> : the next one, and so on! This means the files are timestamped with the time
> : they were sent, which is what we want, but because there could typically be
> : 200 or 300 files every few minutes, this is very slow and inefficent.
> :
> Yes indeed. You would like to have an FTP client that can do all this
> on a per-file basis automatically, right?
>
> HP-UX comes with a program called "kermit". The version bundled with
> HP-UX 10.20 is 6.0, which does most of this with Kermit (not FTP) protocol.
> Version 7.0 (which HP hasn't picked up yet) does even more of this, but
> still not with FTP protocol.
>
> Version 7.1, which HP will pick up for HP-UX 11.20, does all this for FTP
> connections too. It has a whole built-in, scriptable FTP client. You can
> try it right now. See:
>
> http://www.columbia.edu/kermit/ftpclient.html
>
> and (for a tutorial on FTP scripting):
>
> http://www.columbia.edu/kermit/ftpscript.html
>
> It is available for HP-UX 10.20 and every other version of HP-UX from
> 5.21 to 11.xx.
>
> : This will send all the files starting with p to the customer. If the script
> : has to send 300 files in one go, by the time it gets to timestamping and
> : backing them up, the times can but several minutes out. I would like to
> : timestamp them at the time they were actually sent and then send the next
> : one without logging out. Has anyone done this? If so then any advice would
> : be appreciated.
> :
> It can do all this too, but it's a bit too much to explain in this message.
> If you pick up the C-Kermit 7.1 FTP client and start working with it, I'll
> be glad to help you with this part.
>
> - Frank